﻿using PublicClass.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Domain.Dto
{
    public class StaffDto
    {
        /// <summary>
        /// 员工Id
        /// </summary>
        public int StaffId { get; set; }

        #region 基本信息

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string? StaffName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }

        /// <summary>
        /// 员工编号
        /// </summary>
        public string? EmployeeID { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IDNumber { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? Photograph { get; set; }

        #endregion

        #region 入职信息

        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 员工状态Id
        /// </summary>
        public int StaffStateId { get; set; }

        /// <summary>
        /// 员工状态名称
        /// </summary>
        public string? StaffStateName { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime EntryDate { get; set; }

        /// <summary>
        /// 职务Id
        /// </summary>
        public int PostId { get; set; }

        /// <summary>
        /// 职务名称
        /// </summary>
        public string? PostName { get; set; }

        /// <summary>
        /// 岗位Id
        /// </summary>
        public int StationId { get; set; }

        /// <summary>
        /// 岗位名称
        /// </summary>
        public string? StationName { get; set; }

        #endregion

        #region 账号信息

        /// <summary>
        /// 账号
        /// </summary>
        public string? AccountNumber { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 所在地区
        /// </summary>
        public string? Area { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string? Location { get; set; }

        #endregion
    }
}
